package com.lottery.material.service.portal.report.impl;

import com.lottery.material.dao.report.ReportTypeDictMapper;
import com.lottery.material.pojo.report.ReportTypeDict;
import com.lottery.material.service.portal.report.ReportTypeDictService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * Description:    举报类型服务实现类
 * Author:         sunny
 * CreateDate:     2019-04-13 17:33
 */
@Service
public class ReportTypeDictServiceImpl implements ReportTypeDictService {

    @Autowired
    private ReportTypeDictMapper reportTypeDictMapper;

    /**
     * description: 根据举报范围查询
     * author sunny
     * createDate 2019-04-13 下午 5:36
     * @param reportScope
     * @return
     */
    @Override
    public List<ReportTypeDict> findByReportScope(Integer reportScope) {
        return reportTypeDictMapper.findByReportScope(reportScope);
    }
}
